package com.yn.common.request.driver;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="司机完成订单对象", description="司机完成订单对象")
public class CarOrderFinishedRequest {

    @ApiModelProperty(value = "订单号")
    @NotBlank(message = "订单号不能为空")
    @NotNull(message = "订单号不能为空")
    private String orderNo;

    //目的地区编码
    @ApiModelProperty(value = "目的地区编码")
    private String endRegionCode;

    //目的地区名称
    @ApiModelProperty(value = "目的地区名称")
    private String endDestination;

    //出发地标
    @NotBlank(message = "目的地标不能为空")
    @ApiModelProperty(value = "出发地标")
    private String endLocality;
}
